<%-- 
    Document   : order
    Created on : Apr 15, 2010, 10:32:48 AM
    Author     : Truong Anh Tuan
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="c" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Order</title>

    </head>
    <body>
        <table align="center" width="800px" border="1">
            <tr>
                <td height="100px">
                    baner
                </td>
            </tr>
            <tr>
                <td height="30px" align="right">
                    <a href="Catalog.do" >catalog</a>
                    <%
                            session.getValue("id");
                    %>
                    
                    <logic:iterate id="std" name="st">

                        Chao mung : <bean:write name="std" property="firstName"/>
                    </logic:iterate>
                    
                </td>
            </tr>
            <tr>
                <td>
                    <table border="1" width="800px">
                        <tr>
                            <td>ma khoa hoc</td>
                            <td>ten khoa hoc</td>
                            <td>le phi</td>
                            <td>ngay dang ky</td>
                            <td>Status</td>
                        </tr>
                        
                        <logic:iterate id="lst" name="list">
                            <tr>
                                <td>
                                    <bean:write name="lst" property="coursesId"/>
                                </td>
                                <td>
                                    <bean:write name="lst" property="coursesName"/>
                                </td>
                                <td>
                                    <bean:write name="lst" property="fee"/>
                                </td>
                                <td>
                                    <bean:write name="lst" property="orderDate"/>
                                </td>
                                <td>
                                    <bean:write name="lst" property="status"/>
                                </td>

                            </tr>
                        </logic:iterate>

                    </table>
                </td>
            </tr>
            <tr>
                <td height="50px">
                    footer
                </td>
            </tr>
        </table>
    </body>
</html>
